package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.Video;
import com.tanhua.model.vo.PageResult;

import java.util.List;

public interface VideoApi {
    void save(Video video);

    List<Video> selectVideo(String[] ids, Integer page, Integer pageSize);

    List<Video> selectAll(Integer page, Integer pageSize);

    PageResult selectById(Integer page, Integer pageSize, Long uid);
}
